home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19960209-19960425 / 000364_news@columbia.edu _Tue Apr 9 11:11:31 1996.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: news@columbia.edu
  2. Received: from apakabar.cc.columbia.edu (apakabar.cc.columbia.edu [128.59.35.159]) by watsun.cc.columbia.edu (8.7.3/8.7.3) with ESMTP id LAA11264 for <kermit.misc@watsun>; Tue, 9 Apr 1996 11:11:30 -0400 (EDT)
  3. Received: (from news@localhost) by apakabar.cc.columbia.edu (8.7.3/8.7.3) id LAA01869 for kermit.misc@watsun; Tue, 9 Apr 1996 11:11:29 -0400 (EDT)
  4. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  5. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: Re: Kermit95 and script files
  8. Date: 9 Apr 1996 15:10:53 GMT
  9. Organization: Columbia University
  10. Lines: 50
  11. Message-ID: <4kdult$1q4@apakabar.cc.columbia.edu>
  12. References: <3169C352.34F1@pogo.den.mmc.com>
  13. NNTP-Posting-Host: watsun.cc.columbia.edu
  14.  
  15. In article <3169C352.34F1@pogo.den.mmc.com>,
  16. Ernie Binder  <binder@pogo.den.mmc.com> wrote:
  17. : I have written a script to work with my new Kermit95 program, but I
  18. : have a small problem.  I have to record the password in the script
  19. : file to make it work.  I tried to place the UserId and Password in
  20. : the K95 Dialer, login page, but the Password does not seem to be
  21. : transfered (recognized).  However, the UserId is recognized.  The 
  22. : value of the \v(password) seems to be corrupted or not what I assigned 
  23. : it.  The beginning of the script assigns the UserID and Password as
  24. : follows:
  25. : assign \%1 \v(userid)        ; UserID is defined on the Login 
  26. :                 ; page of the K-95 Dialer
  27. : assign \%2 \v(password)    ; Password is defined on the Login 
  28. :                 ; page of the K-95 Dialer
  29. : I then check the values of these variables and I get a correct UserId,
  30. : but the Password is hosed.  If I put the password in the script every
  31. : thing works OK.  To check the variable contents I used:
  32. : echo \%1
  33. : echo \%2
  34. : To use the variables I used:
  35. : output \%1
  36. : output \%2
  37. You forgot the carriage return:
  38.  
  39.   output \%1\13
  40.   output \%2\13
  41.  
  42. : Have I missed something?  
  43. The last two paragraphs on page 42 of "Kermit 95" recommend that you NOT
  44. do this.  Passwords should NEVER be stored on a disk.
  45.  
  46. Nevertheless, if you run your script from the login page, i.e. you check
  47. "Script file name" and you enter its name in the accompanying text box, it
  48. should work correctly.  See the SCRIPTS\LOGIN.KSC file that comes with
  49. Kermit 95 as a working example.  But you can't mix and match passwords
  50. that are entered in the login page with scripts that are run at the
  51. K-95> command prompt.
  52.  
  53. If you have further problems with this, send email to:
  54.  
  55.   kermit-support@columbia.edu 
  56.  
  57. - Frank